<template>
	<image class="img" :src="imgUrl" mode="scaleToFill"></image>
</template>

<script setup>
	import {
		onLoad,
	} from '@dcloudio/uni-app';
	import {
		ref,
		reactive,
		computed,
	} from 'vue';

	let imgUrl = ref('');

	onLoad((e) => {
		console.log(e);
		imgUrl.value = e.url;
	})
</script>

<style lang="scss" scoped>
	.img {
		width: 670rpx;
		height: 670rpx;
	}
</style>
